﻿using System;
using System.Collections.Generic;
using OpenLS.Spreadsheet.Extensibility;

namespace OpenLS.Spreadsheet
{
    partial class CompositeRange
    {
        internal override bool IsProtected
        {
            get { return Enumerable.Any(this.Ranges, r => r.IsProtected); }
        }
        internal override RangeAddress Address
        {
            get { throw new NotImplementedException(); }
        }

        public override Cell this[int row, int column]
        {
            get { throw new NotImplementedException(); }
        }

        internal override void CopyFromImp(CellAddress sourceTopLeft, IEnumerable<SimpleRange> source, PasteInfo fn)
        {
            throw new NotImplementedException();
        }

        internal override Range GetColumnRange(int index, RangeType type)
        {
            throw new NotImplementedException();
        }

        internal override Range GetRowRange(int index, RangeType type)
        {
            throw new NotImplementedException();
        }

        internal override object GetFirstCellValue(CellProperty p)
        {
            throw new NotImplementedException();
        }

        internal override IEnumerable<PartialRowOrColumnRange> GetPartialRowOrColumnRanges(RowOrColumn rc)
        {
            throw new NotImplementedException();
        }
    }
}